release apk not working flutter

69

add a proguard file and fix it.

1. On your app level build.gradle add this to your buildTypes > release section
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
2. Along the build.gradle file create a proguard-rules.pro file and add:
-keep class io.flutter.plugin.editing.** { *; }

Comments

Submit
0 Comments